package behavior.Observer;

/**
 * Created by LYJ on 2016/10/21.
 */
public class ConcreteObserver implements Observer {
    private String observerState;
    @Override
    public void update(String str) {
        observerState=str;
        System.out.println("状态为："+observerState);
    }
}
